#include <iostream>
using namespace std;

int main()
{
    int n, m;
    cin >> n >> m;
    int sum = 0;
    while(n--)
    {
        int x;
        cin >> x;
        sum += x;
        
    }

    if(sum > m)
    {
        cout << "No" << endl;
    }
    else cout << "Yes" << endl;
    
    return 0;
}